/**
 * Created by Tang on 2017/7/20.
 */
var express = require('express');
var app = express();

app.listen(8086,function () {
    console.log('服务开启,8086')
});

app.all('*',function (req,res) {
    res.header("Access-Control-Allow-Origin", "*");
    res.header("Content-Type", "application/json;charset=utf-8");
    res.sendFile(__dirname + req.url);
});